package com.scalar.chiptrack.operations.tapereel;

import java.util.ArrayList;
import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Sudhakar
 * Date: Apr 14, 2007
 * Time: 3:38:52 PM
 */
public class TapeReelRequest  implements Serializable
{
    public static final String STAUS_PULLED= "Pulled";
    public static final String STAUS_CANCELLED = "Cancelled";
    public static final String STAUS_CLOSED = "Closed";
    public static final String STAUS_ISSUED = "Issued";
    public static final String STATUS_CREATE = "Create";

    private String workOrderNo      = null;
    private String poNumber         = null;
    private String trPartNumber     = null;
    private String vendor          = null;
    private String packageType      = null;
    private String pinCount         = null;
    private String reelQty          = null;
    private String reqQty           = null;
    private String reqDate          = null;
    private String expCompDate      = null;
    private String actualCompDate   = null;
    private String specialInstructions  = null;
    private String comments             = null;
    private int trProcessStepId        = -1;
    private int trlocationId           = -1;
    private int fgprocessStepId        = -1;
    private int fglocationId           = -1;
    private int buyIn				   = -1;
    private int vendorId			   = -1;


    private String fgPartNumber     = null;
    private String lotNumber        = null;
    private String qtyAvailable     = null;
    private String qtyPulled        = null;
    private String trQty            = null;
    private String fromDate;
    private String toDate;
    
    private String vendorContactPerson = null;
    private String vendorContactpersonEmail = null;

    private ArrayList lotList   = null;
    private int trRequestid = -1;
    private String reqStatus = null;
    private String trRequestAlerts = null;
    private ArrayList vendorContactPersonsList = null;
    private int totalTrQty;
    private ArrayList contactPersonsList = null;
    private String internalContactPersonEmail = null;


    public String getWorkOrderNo() {
        return workOrderNo;
    }

    public void setWorkOrderNo(String workOrderNo) {
        this.workOrderNo = workOrderNo;
    }

    public String getPoNumber() {
        return poNumber;
    }

    public void setPoNumber(String poNumber) {
        this.poNumber = poNumber;
    }

    public String getTrPartNumber() {
        return trPartNumber;
    }

    public void setTrPartNumber(String trPartNumber) {
        this.trPartNumber = trPartNumber;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public String getPinCount() {
        return pinCount;
    }

    public void setPinCount(String pinCount) {
        this.pinCount = pinCount;
    }

    public String getReelQty() {
        return reelQty;
    }

    public void setReelQty(String reelQty) {
        this.reelQty = reelQty;
    }

    public String getReqQty() {
        return reqQty;
    }

    public void setReqQty(String reqQty) {
        this.reqQty = reqQty;
    }

    public String getReqDate() {
        return reqDate;
    }

    public void setReqDate(String reqDate) {
        this.reqDate = reqDate;
    }

    public String getExpCompDate() {
        return expCompDate;
    }

    public void setExpCompDate(String expCompDate) {
        this.expCompDate = expCompDate;
    }

    public String getActualCompDate() {
        return actualCompDate;
    }

    public void setActualCompDate(String actualCompDate) {
        this.actualCompDate = actualCompDate;
    }

    public String getFgPartNumber() {
        return fgPartNumber;
    }

    public void setFgPartNumber(String fgPartNumber) {
        this.fgPartNumber = fgPartNumber;
    }

    public String getLotNumber() {
        return lotNumber;
    }

    public void setLotNumber(String lotNumber) {
        this.lotNumber = lotNumber;
    }

    public String getQtyAvailable() {
        return qtyAvailable;
    }

    public void setQtyAvailable(String qtyAvailable) {
        this.qtyAvailable = qtyAvailable;
    }

    public String getQtyPulled() {
        return qtyPulled;
    }

    public void setQtyPulled(String qtyPulled) {
        this.qtyPulled = qtyPulled;
    }

    public String getTrQty() {
        return trQty;
    }

    public void setTrQty(String trQty) {
        this.trQty = trQty;
    }

    public String getVendorContactPerson() {
        return vendorContactPerson;
    }

    public void setVendorContactPerson(String vendorContactPerson) {
        this.vendorContactPerson = vendorContactPerson;
    }

    public String getVendorContactpersonEmail() {
        return vendorContactpersonEmail;
    }

    public void setVendorContactpersonEmail(String vendorContactpersonEmail) {
        this.vendorContactpersonEmail = vendorContactpersonEmail;
    }

    public String getSpecialInstructions() {
        return specialInstructions;
    }

    public void setSpecialInstructions(String specialInstructions) {
        this.specialInstructions = specialInstructions;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public int getTrProcessStepId() {
        return trProcessStepId;
    }

    public void setTrProcessStepId(int trProcessStepId) {
        this.trProcessStepId = trProcessStepId;
    }

    public int getTrlocationId() {
        return trlocationId;
    }

    public void setTrlocationId(int trlocationId) {
        this.trlocationId = trlocationId;
    }

    public int getFgprocessStepId() {
        return fgprocessStepId;
    }

    public void setFgprocessStepId(int fgprocessStepId) {
        this.fgprocessStepId = fgprocessStepId;
    }

    public int getFglocationId() {
        return fglocationId;
    }

    public void setFglocationId(int fglocationId) {
        this.fglocationId = fglocationId;
    }


    public ArrayList getLotList() {
        return lotList;
    }

    public void setLotList(ArrayList lotList) {
        this.lotList = lotList;
    }

    public int getTrRequestid() {
        return trRequestid;
    }

    public void setTrRequestid(int trRequestid) {
        this.trRequestid = trRequestid;
    }

    public String getReqStatus() {
        return reqStatus;
    }

    public void setReqStatus(String reqStatus) {
        this.reqStatus = reqStatus;
    }

    public String getTrRequestAlerts() {
        return trRequestAlerts;
    }

    public void setTrRequestAlerts(String trRequestAlerts) {
        this.trRequestAlerts = trRequestAlerts;
    }

    public ArrayList getVendorContactPersonsList() {
        return vendorContactPersonsList;
    }

    public void setVendorContactPersonsList(ArrayList vendorContactPersonsList) {
        this.vendorContactPersonsList = vendorContactPersonsList;
    }

    public int getTotalTrQty() {
        return totalTrQty;
    }

    public void setTotalTrQty(int totalTrQty) {
        this.totalTrQty = totalTrQty;
    }
    

	/**
	 * @return Returns the buyIn.
	 */
	public int getBuyIn() {
		return buyIn;
	}
	/**
	 * @param buyIn The buyIn to set.
	 */
	public void setBuyIn(int buyIn) {
		this.buyIn = buyIn;
	}


    public int getVendorId() {
        return vendorId;
    }

    public void setVendorId(int vendorId) {
        this.vendorId = vendorId;
    }

    public static ArrayList getStatusList()
    {
        ArrayList statusList = new ArrayList();
        statusList.add(new org.apache.struts.util.LabelValueBean("Issued", "Issued"));
        statusList.add(new org.apache.struts.util.LabelValueBean("Closed", "Closed"));
        statusList.add(new org.apache.struts.util.LabelValueBean("Pulled", "Pulled"));
        statusList.add(new org.apache.struts.util.LabelValueBean("Issued & Pulled", "Issued_Pulled"));
        statusList.add(new org.apache.struts.util.LabelValueBean("Cancelled", "Cancelled"));
        return statusList;
    }


    public String getFromDate() {
        return fromDate;
    }

    public void setFromDate(String fromDate) {
        this.fromDate = fromDate;
    }

    public String getToDate() {
        return toDate;
    }

    public void setToDate(String toDate) {
        this.toDate = toDate;
    }

    public ArrayList getContactPersonsList() {
        return contactPersonsList;
    }

    public void setContactPersonsList(ArrayList contactPersonsList) {
        this.contactPersonsList = contactPersonsList;
    }

    public String getInternalContactPersonEmail() {
        return internalContactPersonEmail;
    }

    public void setInternalContactPersonEmail(String internalContactPersonEmail) {
        this.internalContactPersonEmail = internalContactPersonEmail;
    }


}
